export default {
    data() {
        return {
            currentPage1: 5,
            tableData: [{
                name: '鸡蛋仔专卖店',  // 店铺名称
                address: '上海市普陀区真北路',  // 店铺地址
                desc: '荷兰优质淡奶，奶香浓而不腻',  // 店铺介绍
                id: 1,  // 店铺 ID
                phone: '12987122',  // 联系电话
                fraction: 1.2,  // 店铺评分
                number: 100,  // 销售量
                category: '江浙小吃、小吃零食',  // 商品分类
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }, {
                name: '鸡蛋仔专卖店',
                address: '上海市普陀区真北路',
                desc: '荷兰优质淡奶，奶香浓而不腻',
                id: 1,
                phone: '12987122',
                fraction: 1.2,
                number: 100,
                category: '江浙小吃、小吃零食',
            }]
        }
    },
    methods: {
        // 每页数量
        handleSizeChange(val) { },
        // 当前页数
        handleCurrentChange(val) { },
        // 编辑表格数据
        handleEdit(a, b) { },
        // 删除表格数据
        handleDelete(a, b) { },
        // 跳转至首页
        goToIndex() { this.$router.push({ path: '/Main/index' }) },
        // 退出登录
        LogOUt() { this.$router.push({ path: '/' }) }
    },
}